//
//  Duck.h
//  Charles
//
//  Created by Charles on 2017/6/13.
//  Copyright © 2017年 charles. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Behavior.h"

@interface Duck : NSObject

- (void)performFly;
- (void)performQuack;
- (void)swim;

- (void)setFlyBehavior:(id<FlyBehavior>)behavior;
- (void)setQuackBehavior:(id<QuackBehavior>)behavior;

@end

@interface MallardDuck : Duck

@end

@interface ModelDuck : Duck

@end

